Telegram Group & Telegram Channel
#вопрос264

Напишите функцию, которая будет принимать координаты двух точек на плоскости и возвращать длину отрезка, соединяющего эти точки.

Порядок передаваемых чисел — X, Y. Результат нужно округлить до сотых.

Примеры:

line_length([15, 7], [22, 11]) ➞ 8.06
line_length([0, 0], [0, 0]) ➞ 0
line_length([0, 0], [1, 1]) ➞ 1.41



tg-me.com/pythonjuniorjob/908
Create:
Last Update:

#вопрос264

Напишите функцию, которая будет принимать координаты двух точек на плоскости и возвращать длину отрезка, соединяющего эти точки.

Порядок передаваемых чисел — X, Y. Результат нужно округлить до сотых.

Примеры:

line_length([15, 7], [22, 11]) ➞ 8.06
line_length([0, 0], [0, 0]) ➞ 0
line_length([0, 0], [1, 1]) ➞ 1.41

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/908

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.

Python вопросы на собеседовании с ответами from in


Telegram Python вопросы на собеседовании с ответами
FROM USA